<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
        "http://www.w3.org/TR/html4/strict.dtd">

<script type="text/javascript">
	djConfig = { 
		isDebug: true,
		parseWidgets: false
	};
</script>
<script type="text/javascript" src="../../dojo.js"></script>
<script type="text/javascript">
	dojo.require("dojo.widget.*");
	dojo.require("dojo.widget.Button");
</script>

<span id="pn">
	<button id="testDojoButton" dojoType="button" label="this is a test button!" 
		onClick="alert(this.domNode.innerHTML);" onFoo="dojo.hostenv.println('onFoo');">
		you shouldn't be seeing this
	</button>
</span>

<script>
	// FIXME: dylan, this doesn't work but it should!
	// djConfig.searchIds.push("testDojoButton");

	// this works, though
	djConfig.searchIds.push("pn");
</script>
